package org.example.aienglishapp.service.progress;



import org.example.aienglishapp.entity.progress.Course;

import java.util.List;

public interface CourseService {
    List<Course> getAvailableCourses(Long courseId);
    List<Course> getEnrolledCourses(Long userId);
    void enrollCourse(Long userId, Long courseId) throws Exception;
    void deleteEnrollment(Long userId, Long courseId) throws Exception;
}